package com.lenovo.smarttraffic;

public class Constant {

    public static final String urlPrefix = "http://10.0.2.2:8088/transportservice";

    public static final String PREF = "pref";
    public static final String PREF_FIRST_RUN = "is_first_run";

    public static final String LOGIN_INFO = "login_info";
    public static final String KEEP_PWD = "keep_pwd";
    public static final String AUTO_LOGIN = "auto_login";

    public static final String REGISTER = "register";


    //Stage 2
    public static final String ACCOUNT = "account";
    public static final String MONEY = "money";
    public static final String THRESHOLD_MAX = "threshold_max";
    public static final String THRESHOLD_MIN = "threshold_min";

    public static final String CHARGE_CANCEL_TIPS = "charge_cancel_tips_dismiss";

    //Stage3
    public static final String THRESHOLD = "threshold";
    public static final String AUTO_ALERT = "auto_alert";
    public static final String ts_temp = "ts_temp";
    public static final String ts_hum = "ts_hum";
    public static final String ts_light = "ts_light";
    public static final String ts_co2 = "ts_co2";
    public static final String ts_pm25 = "ts_pm25";
    public static final String ts_road = "ts_road";

    //Stage4
    public static final String ts_1_4 = "ts_1_4";


    public static final int TYPE_1 = 101;

    public static final int TYPE_2 = 102;

    public static final int TYPE_3 = 103;

    public static final int TYPE_4 = 104;

    public static final int TYPE_5 = 105;

    public static final int TYPE_6 = 106;

    public static final int TYPE_7 = 107;

    public static final int TYPE_8 = 108;


    public static final int SLIDABLE_DISABLE = 0;
    public static final int SLIDABLE_EDGE = 1;
    public static final int SLIDABLE_FULL = 2;

    /**
     * 加载界面的三种状态
     */
    public static final String STATE_LOADING = "0";
    public static final String STATE_SUCCEED = "1";
    public static final String STATE_FAILED = null;

}
